package icu.qx.wm.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 生产退料物料清单对象 wm_return_material_list
 *
 * @author alize
 * &#064;date  2024-07-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WmReturnMaterialList extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * pmr_code
     */
    private String pmrCode;

    /**
     * 物料code
     */
    @Excel(name = "物料code")
    private String rmlMaterialCode;

    /**
     * 领料code
     */
    @Excel(name = "领料code")
    private String rmlRequestCode;

    /**
     * 退料数量
     */
    @Excel(name = "退料数量")
    private BigDecimal rmlReturnNum;

    /**
     * 库位code
     */
    @Excel(name = "库位code")
    private String rmlSlCode;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String rmlDesc;

    /**
     * 退料原因
     */
    private String rmlReason;

    /**
     * 生产日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rmlProductionDate;

    /**
     * 生产日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rmlExpirationDate;

    // 物料类
    private GbsGood gbsGood;

    // 领料批次
    private String prdBatch;
}
